package com.glela.platform.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.glela.common.BaseSqlMapper;
import com.glela.platform.model.PromotionDetail;

/**
 * @author 卫耀华
 * @date 2016-10-06
 *
 */
public interface PromotionDetailMapper extends BaseSqlMapper<PromotionDetail> {

	/**
	 * @author 卫耀华
	 * @date 2016-10-06
	 * @param promotionId
	 * @return
	 */
	List<PromotionDetail> selectPromotionDetailByPromotionId(@Param("promotionId") int promotionId);

	public PromotionDetail selectPromotionDetailById(int id);
}
